package com.humi.partner.manager.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.humi.cloud.mybatis.support.model.Page;
import com.humi.partner.common.entity.PartnerType;
import com.humi.partner.manager.model.partnerType.PartnerTypeAddQueryResponse;
import com.humi.partner.manager.model.partnerType.PartnerTypeListQueryRequest;
import com.humi.partner.manager.model.partnerType.PartnerTypeListQueryResponse;

/**
 * @author AAD
 * 伙伴类型操作
 */
@Repository
public interface ManagerPartnerTypeMapper extends BaseMapper<PartnerType>{


    /**
     * 分页查询订单
     * @param page
     * @return
     */
    List<PartnerTypeListQueryResponse> getPartnerTypePages(Page< PartnerTypeListQueryResponse, PartnerTypeListQueryRequest> page);


    /**
     * 获取伙伴类型管理详情
     * @param id
     * @return
     */
    PartnerTypeAddQueryResponse getPartnerTypeOrderDetail(@Param("id")String id);


}
